Silence MSVC 'unused' warning.
authorrobertl <robertl>
Mon, 21 Jun 2010 02:35:06 +0000 (02:35 +0000)
committerrobertl <robertl>
Mon, 21 Jun 2010 02:35:06 +0000 (02:35 +0000)
gui/serial_win.cpp

index 1d564de713370eb1ee3011cd6aef82b07c009024..dc9cc7fc73e081e5ddc887d06f002916b01e6d61 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: serial_win.cpp,v 1.2 2009/11/19 03:56:03 robertl Exp $
+// $Id: serial_win.cpp,v 1.3 2010/06/21 02:35:06 robertl Exp $
 //------------------------------------------------------------------------
 //
 //  Copyright (C) 2009  S. Khai Mong <khai@mangrai.com>.
@@ -57,6 +57,7 @@ void MainWindow::osLoadDeviceNameCombos(QComboBox *box)
                                 // but DevList is already at the maximum size it can be without running into kb 931305.
     // FIXME: This shold be a QMessageBox::warning() - RJL
     // fprintf(stderr,"QueryDosDevice() failed with %d.  GetLastError()==%d.\n", res, err);
+    (void) err;
     return;
   }